//
// Created by 鲁班学院子牙 on 2021/2/27.
//

#include "../include/com_ziya_jni_TestPrint.h"

#include <iostream>

using namespace std;

/*
 * Class:     com_ziya_jni_TestPrint
 * Method:    cPrint
 * Signature: ()V
 */
JNIEXPORT void JNICALL Java_com_ziya_jni_TestPrint_cPrint(JNIEnv *env, jclass clazz)
{
    printf("hello, world\n");
}

/*
 * Class:     com_ziya_jni_TestPrint
 * Method:    cppPrint
 * Signature: ()V
 */
JNIEXPORT void JNICALL Java_com_ziya_jni_TestPrint_cppPrint(JNIEnv *env, jclass clazz)
{
    cout << "hello, world" << endl;
}